package com.fjnldx.mes.domain.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * 日期、班次、对应工序、对应工种
 */
@Data
public class SchedulingReq {
    private String org;
    private String cj;
    private String current_gongxu;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate time;
    private String bc;
    private String current_work_type;

}
